Repository navigation
feat(evals): route morph- models to Morph's free API - #128
Merged
Merged
Conversation
Group eval runs needed paid Anthropic or OpenAI keys. Morph serves Kimi and DeepSeek over the OpenAI Responses API for free, so morph- models now call it, with the key from MORPH_API_KEY or the user's OpenCode morph provider. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The comparison run lost 4 of 18 samples to HTTP 429. Rate limits and server errors now retry twice, honoring Retry-After. The Morph config is read once per run, honors XDG_CONFIG_HOME, and rejects an empty key. Model ids move into the README's model table. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The group-conversation eval needed paid Anthropic or OpenAI keys, so its pre-registered parallel-or-serial question has never been run. Morph serves Kimi and DeepSeek for free over the OpenAI Responses API, which the eval's client already speaks.
What changed
morph-models (for examplemorph-kimik31andmorph-dsv41flash) call Morph's API. The key comes fromMORPH_API_KEY, or from themorphprovider in~/.config/opencode/opencode.json, read at run time like the existing~/.codex/config.tomllookup.Scope
mcp-tool-useandtest-signalkeep their routes.Verification
🤖 Generated with Claude Code